package com.ai.platform.job;

import org.quartz.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * Created by yeyingsheng on 2018/4/7.
 */
@PersistJobDataAfterExecution
@DisallowConcurrentExecution
@Component
public class CheckStatusTask  implements Job {
    private Logger log = LoggerFactory.getLogger(CheckStatusTask.class);

    public void execute(JobExecutionContext context) throws JobExecutionException {
        log.info("===============定时刷新z_check_evaluate里的checkStatus 开始==============");
       int size= context.getJobDetail().getJobDataMap().size();
        System.out.println(size);
        log.info("===============定时刷新z_check_evaluate里的checkStatus 成功==============个数：");
    }

}
